package com.gxa.logistics.service.impl;

import com.gxa.logistics.domain.dto.YearBillDTO;
import com.gxa.logistics.domain.vo.YearBillRecordVO;
import com.gxa.logistics.mapper.YearBillRecordMapper;
import com.gxa.logistics.service.YearBillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class YearBillServiceImpl implements YearBillService {
    @Autowired
    private YearBillRecordMapper yearBillRecordMapper;
    @Override
    public List<YearBillRecordVO> selectAllRecord(YearBillDTO yearBillDTO) {
        return yearBillRecordMapper.selectAllRecord(yearBillDTO);
    }

    @Override
    public List selectInNum(Integer i, Integer j) {
        return yearBillRecordMapper.selectInNum(i,j);
    }

    @Override
    public List selectOutNum(Integer i, Integer j) {
        return yearBillRecordMapper.selectOutNum(i,j);
    }

    @Override
    public List<YearBillRecordVO> selectRemainNum(Integer i, Integer j) {
        return yearBillRecordMapper.selectRemainNum(i,j);
    }

    @Override
    public List<String> selectAllOpPlanType() {
        return yearBillRecordMapper.selectAllOpPlanType();
    }
}
